// src/components/common/index.js  
import darkInput from './darkInput.vue';  
import fileButton from './fileButton.vue';  
import roomDialog from './roomDialog.vue';  
import screenDialog from './screenDialog.vue';  
import autoDialog from './autoDialog.vue'; 
  
const components = {  
    darkInput,  
    fileButton,
    roomDialog,
    screenDialog,
    autoDialog
};  
  
const install = (app) => {  
  Object.keys(components).forEach(key => {  
    app.component(key, components[key]);  
  });  
};  
  
export default {  
  install,  
  ...components  
};